export const workspace = {
    openTextDocument: jest.fn(),
    createFileSystemWatcher: jest.fn(() => ({
        onDidChange: jest.fn(),
        onDidCreate: jest.fn(),
        onDidDelete: jest.fn(),
    })),
};

export const window = {
    showErrorMessage: jest.fn(),
};

export const Uri = {
    file: jest.fn(path => ({ fsPath: path })),
};

export const Disposable = jest.fn();
export const EventEmitter = jest.fn();
export const Event = jest.fn();